<template>
  <div style="background-color:#999;margin-top:20px;padding:20px">
      <h2>Son</h2>
      <span>小明每次花100元<button @click="$emit('update:mo',mo-100)">花钱</button>爸爸还剩{{mo}}元</span>
  </div>
</template>

<script>
export default {
name:'Son',
props:['mo']
}
</script>

<style>

</style>